<?php
$results = shell_exec ("./RSSReader.py \"" . $_POST["selection"] . "\"") ;
#$results = shell_exec ("./RSSReader.py \"Der Spiegel International\"") ;

print "
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">

<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
<title>About.com's Python-Powered RSS Reader</title>
<link rel=\"stylesheet\" type=\"text/css\" href=\"./base.css\" />
</head>
<body bgcolor = \"lightblue\">
<font color = \"black\">
<h4>
";

print $results;
print "</h4> </body> </html>";
?> 